%{
myMotor1.TachoLimit=round(angle1a*(myMotor1.TachoLimit)^2+angle1b*myMotor1.TachoLimit+angle1c);
myMotor2.TachoLimit=round(angle2a*(myMotor2.TachoLimit)^2+angle2b*myMotor2.TachoLimit+angle2c);
myMotor3.TachoLimit=round(angle3a*(myMotor3.TachoLimit)^2+angle3b*myMotor3.TachoLimit+angle3c);
%}


%myMotor3.Stop('off');
myMotor3.ResetPosition();
myMotor3.SendToNXT();
myMotor3.WaitFor();

%myMotor2.Stop('off');
myMotor2.ResetPosition();
myMotor2.SendToNXT();
myMotor2.WaitFor();


%myMotor1.Stop('off');
myMotor1.ResetPosition();
myMotor1.SendToNXT();
myMotor1.WaitFor();